<?php
namespace hbynlsl\spf;

use hbynlsl\spf\Resource;

class ApiController {
    // 处理api请求信息
    public function call($resource = 'Index', $id = 0) {
        return Resource::handleRestapi($resource, $id);
    }
}
